function mainEventLoop()
{
	jQuery.each(
		View.views, function ()
		{
			if (this.dirty) {
				this.plot();
				
				return false;
			}
		});
	
	setTimeout(mainEventLoop, 100);
}

$(function ()
{
	setTimeout(mainEventLoop, 500);
});
